//测试对象转数组
let obj = {
    'a':1,
    'b':2,
    'c':3
}
let map = new Map()
map.set('a',1)
console.log(Array.from(obj));
console.log(Array.from(map.values()));

